package com.guodu.service;

import java.util.List;

import com.guodu.entity.DeviceInformation;
import com.guodu.entity.DeviceInformationStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.DeviceInformationQueryVo;
import com.guodu.vo.DeviceInformationVo;

public interface DeviceInformationService {
	public List<DeviceInformationVo> findByVo(DeviceInformationQueryVo deviceInformationQueryVo,Units units,
			int curPage, int pageSize); 
	public List<DeviceInformation> downLoad(
			DeviceInformationQueryVo deviceInformationQueryVo,Units units);
	public void examinAll(DeviceInformationQueryVo deviceInformationQueryVo,Units units);
	public int findSizeByVo(DeviceInformationQueryVo deviceInformationQueryVo,Units units);
	
	public void save(DeviceInformation deviceInformation);
	
	public void examine(String ids, String reason, String beforeStatus,
			Long afterStatus, UserInfo userInfo);
	public void delByIds(String[] ids);
	
	public DeviceInformation  findById(String id);
	public void update(DeviceInformation deviceInformation,Long userId);
	
	public List<DeviceInformationStatus> findStatus(String id);
	
	public void deleteById(String id);
}
